package com.example.demo.proxy2;

public class CglibProxyDemo {
    public static void main(String[] args) {
        RealService realService = new RealService();
        CglibProxy proxy = new CglibProxy(realService);
        
        RealService proxyInstance = (RealService) proxy.getProxyInstance();
        proxyInstance.doSomething();
    }
}
